package com.john.sqwen.ecbc.core.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author john_sqwen
 * @packageName com.john.sqwen.ecbc.core.config
 * @date 2022/4/24
 * @projectName ecbc-base
 * @Description ApplicationConfig
 **/
@Configuration
// 表示通过aop框架暴露该代理对象,AopContext能够访问
@EnableAspectJAutoProxy(exposeProxy = true)
// 指定要扫描的Mapper类的包的路径
@MapperScan("com.john.sqwen.ecbc.**.mapper")
public class ApplicationConfig {

}
